home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global locVList, locHList, gPuppList, opponentVList, opponentHList, stillInBusiness, gCommunicationCheck, gFileList, gHost, gCash, gName, gOppName, gOppCash
- set the text of member "myChat" to " "
- set gFileList to []
- setUpCastMemberCoords()
- set stillInBusiness to 1
- set gPuppList to [3]
- set locVList to [the locV of sprite 43]
- repeat with i = 1 to 20
- append(locVList, getLast(locVList) + 10)
- end repeat
- set locHList to [the locH of sprite 43]
- repeat with i = 1 to 32
- append(locHList, getLast(locHList) + 10)
- end repeat
- puppetSprite(42, 1)
- set the moveableSprite of sprite 42 to 1
- set the constraint of sprite 42 to 48
- puppetSprite(45, 1)
- set the trails of sprite 45 to 1
- puppetSprite(48, 1)
- set the stretch of sprite 48 to 1
- set the visible of sprite 47 to 0
- if gHost = 1 then
- makeSlumpList()
- end if
- set the text of field "myChat" to " "
- set the text of field "oppChat" to " "
- end
-
- on idle
- global gChatTime
- if gChatTime < the ticks then
- set the text of field "oppChat" to " "
- end if
- end
-
- on setUpCastMemberCoords
- global gCastMemberCoords
- set troya1 to [[[1, 2], [8, 9]], [[1, 3], [7, 9]], [[1, 3], [7, 9]], [[1, 3], [7, 9]], [[2, 9]], [[2, 9]], [[2, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[3, 8]]]
- set troya2 to [[[2, 7], [10, 14]], [[2, 14]], [[1, 12]], [[1, 10]], [[1, 10]], [[1, 10]], [[1, 11]], [[1, 14]], [[1, 14]]]
- set troya3 to [[[1, 8]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 8]], [[1, 8]], [[1, 8]], [[1, 8]], [[1, 3], [7, 9]], [[1, 3], [7, 9]], [[1, 2], [7, 9]], [[1, 2], [7, 9]]]
- set troya4 to [[[1, 14]], [[1, 14]], [[3, 14]], [[5, 14]], [[5, 14]], [[5, 14]], [[2, 13]], [[1, 13]], [[1, 4], [9, 13]]]
- set camera1 to [[[4, 5]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]]]
- set camera2 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 5]], [[1, 5]], [[1, 4]], [[1, 4]]]
- set camera3 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[3, 4]]]
- set camera4 to [[[2, 5]], [[2, 5]], [[1, 5]], [[1, 5]], [[2, 5]], [[2, 5]], [[2, 5]]]
- set hatt1 to [[[7, 8]], [[4, 8]], [[2, 8]], [[2, 10]], [[1, 11]], [[1, 10]], [[1, 9]], [[2, 7]], [[3, 5]]]
- set hatt2 to [[[3, 5]], [[2, 6]], [[1, 7]], [[1, 8]], [[1, 8]], [[2, 8]], [[2, 9]], [[3, 8]], [[3, 6]], [[4, 6]], [[5, 5]]]
- set hatt3 to [[[7, 9]], [[5, 10]], [[3, 11]], [[2, 11]], [[1, 11]], [[2, 10]], [[4, 9]], [[4, 7]], [[4, 5]]]
- set hatt4 to [[[4, 5]], [[4, 6]], [[3, 7]], [[1, 7]], [[1, 8]], [[2, 9]], [[2, 9]], [[3, 9]], [[3, 8]], [[5, 7]]]
- set cardDeck1 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
- set cardDeck2 to [[[1, 4]], [[1, 4]], [[1, 4]]]
- set cardDeck3 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
- set cardDeck4 to [[[1, 4]], [[1, 4]], [[1, 4]]]
- set plast1 to [[[1, 3]]]
- set plast2 to [[[1, 1]], [[1, 1]], [[1, 1]]]
- set plast3 to [[[1, 3]]]
- set plast4 to [[[1, 1]], [[1, 1]], [[1, 1]]]
- set vKlock1 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set vKlock2 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set vKlock3 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set vKlock4 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set tBrush1 to [[[1, 7], [9, 10]], [[7, 10]]]
- set tBrush2 to [[[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[1, 1]], [[1, 1]], [[1, 2]], [[1, 2]]]
- set tBrush3 to [[[1, 3]], [[1, 2], [4, 10]]]
- set tBrush4 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]]
- set trosa1 to [[[7, 8]], [[4, 8]], [[2, 9]], [[1, 9]], [[2, 9]], [[2, 9]], [[3, 8]], [[4, 7]], [[5, 6]]]
- set trosa2 to [[[5, 6]], [[4, 6]], [[3, 7]], [[2, 7]], [[1, 7]], [[1, 8]], [[2, 8]], [[2, 9]], [[4, 7]]]
- set trosa3 to [[[3, 5]], [[2, 6]], [[1, 7]], [[1, 8]], [[1, 8]], [[1, 9]], [[1, 7]], [[2, 4]], [[2, 2]]]
- set trosa4 to [[[3, 6]], [[1, 8]], [[2, 8]], [[2, 9]], [[2, 9]], [[2, 8]], [[3, 7]], [[3, 6]], [[3, 4]]]
- set strump1 to [[[6, 8]], [[5, 8]], [[5, 8]], [[5, 8]], [[5, 7]], [[5, 7]], [[5, 7]], [[4, 7]], [[2, 6]], [[2, 4]], [[1, 3]], [[1, 2]]]
- set strump2 to [[[1, 2]], [[1, 3]], [[2, 4]], [[3, 5]], [[3, 11]], [[4, 12]], [[5, 12]], [[10, 11]]]
- set strump3 to [[[6, 7]], [[5, 8]], [[4, 7]], [[2, 6]], [[2, 5]], [[2, 4]], [[2, 4]], [[2, 4]], [[1, 4]], [[1, 3]], [[1, 3]], [[2, 3]]]
- set strump4 to [[[1, 4]], [[1, 8]], [[1, 9]], [[4, 10]], [[8, 11]], [[9, 12]], [[10, 12]], [[11, 12]]]
- set buch1 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]]]
- set buch2 to [[[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]]]
- set buch3 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]], [[1, 7]]]
- set buch4 to [[[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]]]
- set letter1 to [[[1, 7]], [[1, 7]], [[1, 7]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 7]], [[1, 7]]]
- set letter2 to [[[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[3, 6]], [[3, 6]]]
- set letter3 to [[[3, 9]], [[3, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[3, 9]], [[3, 8]], [[3, 8]]]
- set letter4 to [[[4, 7]], [[4, 7]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]], [[1, 9]]]
- set tork1 to [[[1, 7]], [[2, 8]], [[5, 8]], [[6, 8]], [[6, 7]], [[6, 7]], [[7, 7]], [[7, 7]]]
- set tork2 to [[[7, 8]], [[7, 8]], [[7, 8]], [[7, 8]], [[6, 8]], [[4, 8]], [[1, 8]], [[2, 2], [6, 7]]]
- set tork3 to [[[2, 2]], [[2, 2]], [[2, 3]], [[2, 3]], [[1, 3]], [[1, 4]], [[1, 8]], [[2, 8]]]
- set tork4 to [[[2, 3]], [[1, 8]], [[1, 5]], [[1, 3]], [[1, 3]], [[1, 2]], [[1, 2]], [[1, 2]]]
- set walkm1 to [[[3, 6]], [[2, 7]], [[2, 9]], [[2, 9]], [[1, 8]], [[1, 8]], [[3, 8]], [[3, 4], [6, 7]]]
- set walkm2 to [[[3, 4]], [[2, 6]], [[1, 7]], [[2, 8]], [[1, 8]], [[2, 8]], [[1, 7]], [[2, 6]], [[5, 6]]]
- set walkm3 to [[[3, 3], [6, 7]], [[6, 8]], [[2, 9]], [[2, 9]], [[1, 8]], [[1, 8]], [[3, 7]], [[4, 6]]]
- set walkm4 to [[[2, 3]], [[2, 6]], [[2, 8]], [[1, 7]], [[1, 7]], [[1, 8]], [[1, 8]], [[2, 6]], [[6, 7]]]
- set comb1 to [[[1, 7]], [[1, 7]]]
- set comb2 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
- set comb3 to [[[1, 7]], [[1, 7]]]
- set comb4 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
- set locTong1 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
- set locTong2 to [[[1, 13]], [[1, 13]]]
- set locTong3 to [[[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]], [[1, 2]]]
- set locTong4 to [[[1, 13]], [[1, 13]]]
- set penn2 to [[[1, 6]]]
- set penn1 to [[[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]]
- set penn4 to [[[1, 6]]]
- set penn3 to [[[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]]]
- set burk1 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
- set burk2 to [[[1, 4]], [[1, 4]], [[1, 4]]]
- set burk3 to [[[1, 3]], [[1, 3]], [[1, 3]], [[1, 3]]]
- set burk4 to [[[1, 4]], [[1, 4]], [[1, 4]]]
- set apple1 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
- set apple2 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
- set apple3 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
- set apple4 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 3]]]
- set cBoot1 to [[[4, 6]], [[2, 7]], [[2, 8]], [[2, 8]], [[1, 7]], [[2, 7]], [[1, 7]], [[1, 6]], [[1, 7]], [[1, 7]], [[1, 9]], [[2, 10]]]
- set cBoot2 to [[[2, 5]], [[1, 11]], [[1, 11]], [[2, 12]], [[1, 12]], [[1, 12]], [[1, 3], [6, 11]], [[1, 2], [10, 10]], [[1, 2]], [[2, 2]]]
- set cBoot3 to [[[2, 5], [8, 9]], [[1, 10]], [[4, 10]], [[4, 10]], [[5, 9]], [[4, 9]], [[4, 9]], [[3, 9]], [[3, 9]], [[3, 9]], [[3, 9]], [[5, 7]]]
- set cBoot4 to [[[11, 11]], [[11, 12]], [[2, 4], [11, 12]], [[2, 7], [9, 12]], [[1, 12]], [[1, 11]], [[1, 11]], [[2, 12]], [[2, 12]], [[8, 10]]]
- set shades1 to [[[2, 6]], [[1, 7]], [[1, 3], [5, 7]]]
- set shades2 to [[[1, 2]], [[1, 3]], [[1, 3]], [[2, 3]], [[1, 3]], [[1, 3]], [[1, 2]]]
- set shades3 to [[[1, 7], [5, 7]], [[1, 7]], [[2, 6]]]
- set shades4 to [[[2, 3]], [[1, 3]], [[1, 3]], [[1, 2]], [[1, 3]], [[1, 3]], [[2, 3]]]
- set philips1 to [[[1, 2]], [[1, 3]], [[1, 3]], [[1, 3]], [[2, 3]]]
- set philips2 to [[[2, 5]], [[1, 5]], [[1, 4]]]
- set philips3 to [[[2, 2]], [[1, 3]], [[1, 3]], [[1, 3]], [[2, 3]]]
- set philips4 to [[[2, 4]], [[1, 5]], [[1, 5]]]
- set safePin1 to [[[1, 1]], [[1, 2]], [[1, 1]]]
- set safePin2 to [[[1, 3]], [[2, 2]]]
- set safePin3 to [[[2, 2]], [[1, 2]], [[2, 2]]]
- set safePin4 to [[[2, 2]], [[1, 3]]]
- set sciss1 to [[[1, 2]], [[1, 6]], [[1, 2]]]
- set sciss2 to [[[1, 3]], [[1, 3]], [[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]]]
- set sciss3 to [[[5, 6]], [[1, 6]], [[5, 6]]]
- set sciss4 to [[[2, 2]], [[2, 2]], [[2, 2]], [[2, 2]], [[1, 3]], [[1, 3]]]
- set iron1 to [[[3, 3]], [[3, 4]], [[2, 5]], [[2, 6]], [[2, 6]], [[1, 6]], [[1, 5]], [[1, 5]], [[1, 5]], [[3, 4]]]
- set iron2 to [[[2, 4]], [[2, 8]], [[2, 9]], [[1, 8]], [[1, 8]], [[5, 9]]]
- set iron3 to [[[3, 4]], [[2, 6]], [[2, 6]], [[2, 6]], [[1, 6]], [[1, 5]], [[1, 5]], [[2, 5]], [[3, 4]], [[4, 4]]]
- set iron4 to [[[3, 6]], [[2, 9]], [[2, 10]], [[1, 10]], [[3, 9]], [[6, 9]]]
- set specs1 to [[[1, 7]], [[1, 7]], [[2, 3], [5, 6]]]
- set specs2 to [[[2, 3]], [[1, 3]], [[1, 3]], [[2, 2]], [[1, 3]], [[1, 3]], [[2, 3]]]
- set specs3 to [[[2, 3], [5, 6]], [[1, 7]], [[1, 3], [4, 7]]]
- set specs4 to [[[1, 2]], [[1, 3]], [[1, 3]], [[1, 2]], [[1, 3]], [[1, 3]], [[1, 2]]]
- set snorck1 to [[[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[4, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[5, 6]], [[1, 2], [5, 6]], [[1, 2], [5, 6]], [[2, 2]], [[2, 3], [5, 5]], [[3, 4]]]
- set snorck2 to [[[3, 5]], [[2, 4]], [[1, 1], [5, 5]], [[1, 1], [10, 10]], [[1, 20]], [[2, 20]]]
- set snorck3 to [[[3, 4]], [[2, 2], [4, 5]], [[1, 1], [5, 5]], [[1, 1], [5, 5]], [[1, 1], [5, 5]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 2]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 1]], [[1, 2]], [[1, 1]]]
- set snorck4 to [[[1, 19]], [[10, 10], [18, 20]], [[20, 20]], [[16, 16], [19, 20]], [[17, 19]], [[16, 16]]]
- set damSko1 to [[[6, 7]], [[6, 8]], [[6, 8]], [[5, 8]], [[5, 8]], [[5, 8]], [[4, 9]], [[4, 8]], [[1, 6], [8, 8]], [[1, 4]]]
- set damSko2 to [[[1, 1]], [[1, 2]], [[1, 2]], [[1, 3]], [[1, 7]], [[2, 10]], [[3, 10]], [[2, 9]], [[4, 4]]]
- set damSko3 to [[[5, 8]], [[1, 2], [4, 8]], [[1, 5]], [[1, 5]], [[1, 4]], [[2, 4]], [[2, 4]], [[1, 4]], [[1, 4]], [[2, 4]]]
- set damSko4 to [[[1, 3], [6, 8]], [[1, 9]], [[1, 8]], [[2, 9]], [[6, 9]], [[8, 10]], [[9, 10]], [[9, 10]], [[9, 9]]]
- set paper1 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set paper2 to [[[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]]]
- set paper3 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set paper4 to [[[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]]]
- set shirt1 to [[[3, 5], [9, 11]], [[1, 5], [8, 13]], [[1, 13]], [[1, 13]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]]]
- set shirt2 to [[[8, 11]], [[8, 11]], [[8, 11]], [[1, 12]], [[1, 12]], [[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]], [[1, 10]], [[8, 11]], [[8, 11]], [[8, 11]]]
- set shirt3 to [[[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[4, 10]], [[1, 5], [9, 13]], [[3, 5], [9, 11]]]
- set shirt4 to [[[2, 4]], [[2, 4]], [[2, 4]], [[1, 12]], [[1, 12]], [[3, 12]], [[3, 12]], [[3, 12]], [[1, 12]], [[1, 12]], [[2, 4]], [[2, 4]], [[2, 4]]]
- set flute1 to [[[7, 7]], [[6, 7]], [[6, 6]], [[5, 5]], [[4, 4]], [[3, 3]], [[3, 3]], [[2, 2]], [[1, 1]]]
- set flute2 to [[[1, 1]], [[2, 2]], [[3, 4]], [[5, 5]], [[5, 5]], [[7, 8]], [[8, 9]]]
- set flute3 to [[[7, 7]], [[6, 6]], [[5, 5]], [[4, 4]], [[4, 4]], [[3, 3]], [[2, 2]], [[1, 2]], [[1, 1]]]
- set flute4 to [[[1, 2]], [[3, 3]], [[4, 4]], [[4, 5]], [[6, 6]], [[8, 9]], [[8, 8]]]
- set foto1 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set foto2 to [[[1, 5]], [[1, 5]], [[1, 5]], [[1, 5]]]
- set foto3 to [[[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]], [[1, 4]]]
- set foto4 to [[[1, 5]], [[1, 5]], [[1, 5]], [[1, 5]]]
- set trad1 to [[[1, 1], [3, 4]], [[1, 4]], [[2, 3]], [[1, 3]]]
- set trad2 to [[[1, 1]], [[1, 3]], [[1, 4]], [[3, 4]]]
- set trad3 to [[[2, 4]], [[1, 3]], [[1, 4]], [[1, 2], [4, 4]]]
- set trad4 to [[[1, 2]], [[2, 4]], [[1, 4]], [[1, 4]]]
- set maracc1 to [[[2, 3]], [[1, 4]], [[1, 4]], [[2, 4]], [[5, 5]], [[6, 6]]]
- set maracc2 to [[[3, 4]], [[3, 6]], [[3, 6]], [[3, 5]], [[2, 2]], [[1, 1]]]
- set maracc3 to [[[1, 1]], [[2, 2]], [[3, 5]], [[2, 6]], [[3, 6]], [[3, 5]]]
- set maracc4 to [[[6, 6]], [[3, 5]], [[1, 4]], [[1, 4]], [[1, 4]], [[2, 4]]]
- set gCastMemberCoords to [troya1, troya2, troya3, troya4, camera1, camera2, camera3, camera4, hatt1, hatt2, hatt3, hatt4, cardDeck1, cardDeck2, cardDeck3, cardDeck4, plast1, plast2, plast3, plast4, vKlock1, vKlock2, vKlock3, vKlock4, tBrush1, tBrush2, tBrush3, tBrush4, trosa1, trosa2, trosa3, trosa4, strump1, strump2, strump3, strump4, buch1, buch2, buch3, buch4, letter1, letter2, letter3, letter4, tork1, tork2, tork3, tork4, walkm1, walkm2, walkm3, walkm4, comb1, comb2, comb3, comb4, locTong1, locTong2, locTong3, locTong4, penn1, penn2, penn3, penn4, burk1, burk2, burk3, burk4, apple1, apple2, apple3, apple4, cBoot1, cBoot2, cBoot3, cBoot4, shades1, shades2, shades3, shades4, philips1, philips2, philips3, philips4, safePin1, safePin2, safePin3, safePin4, sciss1, sciss2, sciss3, sciss4, iron1, iron2, iron3, iron4, specs1, specs2, specs3, specs4, snorck1, snorck2, snorck3, snorck4, damSko1, damSko2, damSko3, damSko4, paper1, paper2, paper3, paper4, shirt1, shirt2, shirt3, shirt4, flute1, flute2, flute3, flute4, foto1, foto2, foto3, foto4, trad1, trad2, trad3, trad4, maracc1, maracc2, maracc3, maracc4]
- end
-
- on makeSlumpList
- global gSlumpList
- set RA to random(4)
- case RA of
- 1:
- set gSlumpList to [6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 78, 82, 86, 90, 94, 98, 102, 106, 110, 114, 118, 122, 126, 130]
- 2:
- set gSlumpList to [2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 78, 82, 86, 90, 94, 98, 102, 106, 110, 118, 122, 126, 130]
- 3:
- set gSlumpList to [6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 110, 114, 118, 122, 126, 130]
- 4:
- set gSlumpList to [2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46, 50, 54, 58, 62, 66, 70, 74, 78, 82, 86, 90, 94, 98, 102, 110, 118, 122, 126, 130]
- end case
- end
-
- on createSlumpList
- global gSlumpList
- set tempList to []
- repeat while count(gSlumpList) > 0
- set nr to random(count(gSlumpList))
- append(tempList, getAt(gSlumpList, nr))
- deleteAt(gSlumpList, nr)
- end repeat
- set gSlumpList to tempList
- end
-
- on playCheckOut
- play frame label("checkOut")
- end
-
- on slumpaShape
- global gSlumpList, gRak
- set the visible of sprite 42 to 0
- set the memberNum of sprite 42 to getAt(gSlumpList, gRak)
- set gRak to gRak + 1
- set left to the left of sprite 43 - 230
- set top to the top of sprite 43 - 100
- set right to the right of sprite 43
- set bottom to the bottom of sprite 43
- case the memberNum of sprite 42 of
- 2, 4:
- spriteBox(48, left, top, right - 90, bottom - 140)
- 3, 5:
- spriteBox(48, left, top, right - 140, bottom - 90)
- 6, 8:
- spriteBox(48, left, top, right - 70, bottom - 50)
- 7, 9:
- spriteBox(48, left, top, right - 50, bottom - 70)
- 10, 12:
- spriteBox(48, left, top, right - 110, bottom - 90)
- 11, 13:
- spriteBox(48, left, top, right - 90, bottom - 110)
- 14, 16:
- spriteBox(48, left, top, right - 30, bottom - 40)
- 15, 17:
- spriteBox(48, left, top, right - 40, bottom - 30)
- 18, 20:
- spriteBox(48, left, top, right - 30, bottom - 10)
- 19, 21:
- spriteBox(48, left, top, right - 10, bottom - 30)
- 22, 23, 24, 25, 70, 71, 72, 73, 126, 127, 128, 129:
- spriteBox(48, left, top, right - 40, bottom - 40)
- 26, 28:
- spriteBox(48, left, top, right - 90, bottom - 10)
- 27, 29:
- spriteBox(48, left, top, right - 10, bottom - 90)
- 30, 31, 32, 33, 46, 47, 48, 49:
- spriteBox(48, left, top, right - 80, bottom - 80)
- 34, 36:
- spriteBox(48, left, top, right - 80, bottom - 120)
- 35, 37:
- spriteBox(48, left, top, right - 120, bottom - 80)
- 38, 40:
- spriteBox(48, left, top, right - 70, bottom - 90)
- 39, 41:
- spriteBox(48, left, top, right - 90, bottom - 70)
- 42, 43, 44, 45:
- spriteBox(48, left, top, right - 90, bottom - 90)
- 50, 52:
- spriteBox(48, left, top, right - 90, bottom - 80)
- 51, 53:
- spriteBox(48, left, top, right - 80, bottom - 90)
- 54, 56:
- spriteBox(48, left, top, right - 70, bottom - 20)
- 55, 57:
- spriteBox(48, left, top, right - 20, bottom - 70)
- 58, 60:
- spriteBox(48, left, top, right - 20, bottom - 130)
- 59, 61:
- spriteBox(48, left, top, right - 130, bottom - 20)
- 62, 64:
- spriteBox(48, left, top, right - 60, bottom - 10)
- 63, 65:
- spriteBox(48, left, top, right - 10, bottom - 60)
- 66, 68:
- spriteBox(48, left, top, right - 30, bottom - 50)
- 67, 69:
- spriteBox(48, left, top, right - 50, bottom - 30)
- 74, 76:
- spriteBox(48, left, top, right - 100, bottom - 120)
- 75, 77:
- spriteBox(48, left, top, right - 120, bottom - 100)
- 78, 80, 98, 100:
- spriteBox(48, left, top, right - 70, bottom - 30)
- 79, 81, 99, 101:
- spriteBox(48, left, top, right - 30, bottom - 70)
- 82, 84, 122, 124:
- spriteBox(48, left, top, right - 40, bottom - 50)
- 83, 85, 123, 125:
- spriteBox(48, left, top, right - 50, bottom - 40)
- 86, 88:
- spriteBox(48, left, top, right - 20, bottom - 30)
- 87, 89:
- spriteBox(48, left, top, right - 30, bottom - 20)
- 90, 92:
- spriteBox(48, left, top, right - 60, bottom - 30)
- 91, 93:
- spriteBox(48, left, top, right - 30, bottom - 60)
- 94, 96:
- spriteBox(48, left, top, right - 60, bottom - 100)
- 95, 97:
- spriteBox(48, left, top, right - 100, bottom - 60)
- 102, 104:
- spriteBox(48, left, top, right - 60, bottom - 200)
- 103, 105:
- spriteBox(48, left, top, right - 200, bottom - 60)
- 106, 108:
- spriteBox(48, left, top, right - 90, bottom - 100)
- 107, 109:
- spriteBox(48, left, top, right - 100, bottom - 90)
- 110, 112:
- spriteBox(48, left, top, right - 50, bottom - 110)
- 111, 113:
- spriteBox(48, left, top, right - 110, bottom - 50)
- 114, 116:
- spriteBox(48, left, top, right - 130, bottom - 120)
- 115, 117:
- spriteBox(48, left, top, right - 120, bottom - 130)
- 118, 120:
- spriteBox(48, left, top, right - 70, bottom - 100)
- 119, 121:
- spriteBox(48, left, top, right - 100, bottom - 70)
- 130, 131, 132, 133:
- spriteBox(48, left, top, right - 60, bottom - 60)
- end case
- puppetSound("appear")
- updateStage()
- set the locH of sprite 42 to 111 - (the width of member the memberNum of sprite 42 / 2)
- set the locV of sprite 42 to 187 - (the height of member the memberNum of sprite 42 / 2)
- set the visible of sprite 42 to 1
- end
-
- on checkSpriteSize
- set left to the left of sprite 43
- if the frame = 2 then
- set top to the top of sprite 43 - 100
- else
- set top to the top of sprite 43
- end if
- set right to the right of sprite 43
- set bottom to the bottom of sprite 43
- case the memberNum of sprite 42 of
- 2, 4:
- spriteBox(48, left, top, right - 90, bottom - 140)
- 3, 5:
- spriteBox(48, left, top, right - 140, bottom - 90)
- 6, 8:
- spriteBox(48, left, top, right - 70, bottom - 50)
- 7, 9:
- spriteBox(48, left, top, right - 50, bottom - 70)
- 10, 12:
- spriteBox(48, left, top, right - 110, bottom - 90)
- 11, 13:
- spriteBox(48, left, top, right - 90, bottom - 110)
- 14, 16:
- spriteBox(48, left, top, right - 30, bottom - 40)
- 15, 17:
- spriteBox(48, left, top, right - 40, bottom - 30)
- 18, 20:
- spriteBox(48, left, top, right - 30, bottom - 10)
- 19, 21:
- spriteBox(48, left, top, right - 10, bottom - 30)
- 22, 23, 24, 25, 70, 71, 72, 73, 126, 127, 128, 129:
- spriteBox(48, left, top, right - 40, bottom - 40)
- 26, 28:
- spriteBox(48, left, top, right - 90, bottom - 10)
- 27, 29:
- spriteBox(48, left, top, right - 10, bottom - 90)
- 30, 31, 32, 33, 46, 47, 48, 49:
- spriteBox(48, left, top, right - 80, bottom - 80)
- 34, 36:
- spriteBox(48, left, top, right - 80, bottom - 120)
- 35, 37:
- spriteBox(48, left, top, right - 120, bottom - 80)
- 38, 40:
- spriteBox(48, left, top, right - 70, bottom - 90)
- 39, 41:
- spriteBox(48, left, top, right - 90, bottom - 70)
- 42, 43, 44, 45:
- spriteBox(48, left, top, right - 90, bottom - 90)
- 50, 52:
- spriteBox(48, left, top, right - 90, bottom - 80)
- 51, 53:
- spriteBox(48, left, top, right - 80, bottom - 90)
- 54, 56:
- spriteBox(48, left, top, right - 70, bottom - 20)
- 55, 57:
- spriteBox(48, left, top, right - 20, bottom - 70)
- 58, 60:
- spriteBox(48, left, top, right - 20, bottom - 130)
- 59, 61:
- spriteBox(48, left, top, right - 130, bottom - 20)
- 62, 64:
- spriteBox(48, left, top, right - 60, bottom - 10)
- 63, 65:
- spriteBox(48, left, top, right - 10, bottom - 60)
- 66, 68:
- spriteBox(48, left, top, right - 30, bottom - 50)
- 67, 69:
- spriteBox(48, left, top, right - 50, bottom - 30)
- 74, 76:
- spriteBox(48, left, top, right - 100, bottom - 120)
- 75, 77:
- spriteBox(48, left, top, right - 120, bottom - 100)
- 78, 80, 98, 100:
- spriteBox(48, left, top, right - 70, bottom - 30)
- 79, 81, 99, 101:
- spriteBox(48, left, top, right - 30, bottom - 70)
- 82, 84, 122, 124:
- spriteBox(48, left, top, right - 40, bottom - 50)
- 83, 85, 123, 125:
- spriteBox(48, left, top, right - 50, bottom - 40)
- 86, 88:
- spriteBox(48, left, top, right - 20, bottom - 30)
- 87, 89:
- spriteBox(48, left, top, right - 30, bottom - 20)
- 90, 92:
- spriteBox(48, left, top, right - 60, bottom - 30)
- 91, 93:
- spriteBox(48, left, top, right - 30, bottom - 60)
- 94, 96:
- spriteBox(48, left, top, right - 60, bottom - 100)
- 95, 97:
- spriteBox(48, left, top, right - 100, bottom - 60)
- 102, 104:
- spriteBox(48, left, top, right - 60, bottom - 200)
- 103, 105:
- spriteBox(48, left, top, right - 200, bottom - 60)
- 106, 108:
- spriteBox(48, left, top, right - 90, bottom - 100)
- 107, 109:
- spriteBox(48, left, top, right - 100, bottom - 90)
- 110, 112:
- spriteBox(48, left, top, right - 50, bottom - 110)
- 111, 113:
- spriteBox(48, left, top, right - 110, bottom - 50)
- 114, 116:
- spriteBox(48, left, top, right - 130, bottom - 120)
- 115, 117:
- spriteBox(48, left, top, right - 120, bottom - 130)
- 118, 120:
- spriteBox(48, left, top, right - 70, bottom - 100)
- 119, 121:
- spriteBox(48, left, top, right - 100, bottom - 70)
- 130, 131, 132, 133:
- spriteBox(48, left, top, right - 60, bottom - 60)
- end case
- updateStage()
- if the locV of sprite 42 > the bottom of sprite 48 then
- set the locV of sprite 42 to the bottom of sprite 48
- updateStage()
- end if
- if the locH of sprite 42 > the right of sprite 48 then
- set the locH of sprite 42 to the right of sprite 48
- updateStage()
- end if
- end
-
- on putBack
- puppetSound("no_place")
- spriteBox(48, the left of sprite 43 - 230, the top of sprite 48 - 100, the right of sprite 48, the bottom of sprite 48)
- updateStage()
- set the locH of sprite 42 to 111 - (the width of member the memberNum of sprite 42 / 2)
- set the locV of sprite 42 to 187 - (the height of member the memberNum of sprite 42 / 2)
- end
-
- on readOpponents
- global gOppstillInBusiness, gFileList, gOppOffset, gOppShape, gSlumpList, gHost, gOppName
- set msgID to EMPTY
- set msgType to EMPTY
- readFile()
- if count(gFileList) = 0 then
- return -1
- else
- set tabs to 0
- set data to getAt(gFileList, 1)
- deleteAt(gFileList, 1)
- repeat with i = 1 to length(data)
- if char i of data = TAB then
- set tabs to tabs + 1
- end if
- if tabs = 4 then
- put char i + 1 of data after msgID
- end if
- if tabs = 5 then
- put char i + 1 of data after msgType
- end if
- if tabs = 7 then
- exit repeat
- end if
- end repeat
- set msgID to value(chars(msgID, 1, length(msgID) - 1))
- set msgType to value(chars(msgType, 1, length(msgType) - 1))
- if (msgType > 9) or (msgType < 0) then
- return 0
- end if
- set data to chars(data, i + 1, length(data) - 1)
- if msgID = 2 then
- set data to value(data)
- set gOppstillInBusiness to getAt(data, 3)
- set gOppOffset to getAt(data, 1)
- set gOppShape to getAt(data, 2) - 1
- return 2
- else
- if msgID = 1 then
- doChat(data)
- return 1
- else
- if msgID = 3 then
- if gHost = 0 then
- set gSlumpList to value(data)
- end if
- return 3
- else
- if msgID = 6 then
- set data to gOppName & " has quit the game!"
- doChat(data)
- go("hasQuit")
- return 6
- else
- return -1
- end if
- end if
- end if
- end if
- end if
- end
-
- on showOpponents
- global gOppShape, gOppOffset, gCastMemberCoords, stillInBusiness, gOppstillInBusiness, gGameResult
- if (stillInBusiness = 1) and (gOppstillInBusiness = 0) then
- set gGameResult to 1
- return 1
- exit
- else
- if (stillInBusiness = 0) and (gOppstillInBusiness = 1) then
- set gGameResult to 2
- return 2
- exit
- else
- if (stillInBusiness = 0) and (gOppstillInBusiness = 0) then
- set gGameResult to 3
- return 3
- exit
- end if
- end if
- end if
- set shapeList to getAt(gCastMemberCoords, gOppShape)
- repeat with i = 1 to count(shapeList)
- repeat with J = getAt(getAt(getAt(shapeList, i), 1), 1) to getAt(getAt(getAt(shapeList, i), 1), 2)
- set V to 382 + (getAt(gOppOffset, 1) * 3) + (i * 3) - 10
- set h to 417 + (getAt(gOppOffset, 2) * 3) + (J * 3) - 10
- set the loc of sprite 45 to point(h, V)
- updateStage()
- end repeat
- if count(getAt(shapeList, i)) > 1 then
- repeat with J = getAt(getAt(getAt(shapeList, i), 2), 1) to getAt(getAt(getAt(shapeList, i), 2), 2)
- set V to 382 + (getAt(gOppOffset, 1) * 3) + (i * 3) - 10
- set h to 417 + (getAt(gOppOffset, 2) * 3) + (J * 3) - 10
- set the loc of sprite 45 to point(h, V)
- updateStage()
- end repeat
- end if
- end repeat
- puppetSprite(39, 0)
- return 0
- end
-
- on doChat data
- global gChatTime
- puppetSound("fone")
- set the text of field "oppChat" to data
- repeat with i = 1 to 3
- set the visible of sprite 35 to 0
- updateStage()
- startTimer()
- repeat while the timer < 7
- end repeat
- set the visible of sprite 35 to 1
- updateStage()
- startTimer()
- repeat while the timer < 5
- end repeat
- end repeat
- set gChatTime to the ticks + (8 * 60)
- end
-